﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CS3230HealthTrackerSystemGUI
{
    /// <summary>
    /// @Author: Chase Cole
    /// @Version: 12/1/2011
    /// 
    /// FieldValueHolder holds the different text values entered within the various forms
    /// and stores them to be passed on to other forms. 
    /// </summary>
    public class FieldValueHolder
    {
        private string currentPatientID;
        private string currentDoctorID;
        private string currentNurseID;

        private string currentDate;
        private string currentTime;

        public FieldValueHolder()
        {
            currentDoctorID = "";
            currentPatientID = "";
            currentNurseID = "";
            currentDate = "";
            currentTime = "";
        }

        public FieldValueHolder(String doctor, string patient, string nurse, string date, string time)
        {
            currentDoctorID = doctor;
            currentPatientID = patient;
            currentNurseID = nurse;
            currentDate = date;
            currentTime = time;
        }

        public string getCurrentPatientID()
        {
            return currentPatientID;
        }

        public void setPatientID(String patient)
        {
            currentPatientID = patient;
        }

        public string getCurrentDoctorID()
        {
            return currentDoctorID;
        }

        public void setCurrentDoctorID(String doctor)
        {
            currentDoctorID = doctor;
        }

        public string getCurrentNurseID()
        {
            return currentNurseID;
        }

        public void setCurrentNurseID(String nurse)
        {
            currentNurseID = nurse;
        }

        public string getCurrentDate()
        {
            return currentDate;
        }

        public void setCurrentDate(string date)
        {
            currentDate = date;
        }

        public string getCurrentTime()
        {
            return currentTime;
        }

        public void setCurrentTime(string time)
        {
            currentTime = time;
        }
    }
}
